﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace xxxy.Web.mettingInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int mID=(Convert.ToInt32(strid));
					ShowInfo(mID);
				}
			}
		}
		
	private void ShowInfo(int mID)
	{
		xxxy.BLL.mettingInfo bll=new xxxy.BLL.mettingInfo();
		xxxy.Model.mettingInfo model=bll.GetModel(mID);
		this.lblmID.Text=model.mID.ToString();
		this.lblmName.Text=model.mName;
		this.lblmTime1.Text=model.mTime1.ToString();
		this.lblmtime2.Text=model.mtime2.ToString();
		this.lblmParticipants.Text=model.mParticipants;
		this.lblmUpload.Text=model.mUpload.ToString();
		this.lblmUploadTime.Text=model.mUploadTime.ToString();
		this.lblmStation.Text=model.mStation.ToString();
		this.lblmAttachment.Text=model.mAttachment;
		this.lblrRemarks.Text=model.rRemarks;
		this.lblmaddress.Text=model.maddress.ToString();
		this.lblmsummary.Text=model.msummary;
		this.lblmnotice.Text=model.mnotice;
		this.lblmdata.Text=model.mdata;

	}


    }
}
